package com.taobao.api.domain;

import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;

/**
 * 模板、标签、分组的操作结果
 *
 * @author auto create
 * @since 1.0, null
 */
public class TemplateResult extends TaobaoObject {

	private static final long serialVersionUID = 1256919122967552167L;

	/**
	 * 操作失败时的错误信息
	 */
	@ApiField("error_message")
	private String errorMessage;

	/**
	 * 操作是否成功
	 */
	@ApiField("is_success")
	private Boolean isSuccess;

	/**
	 * 分页查询时，记录总数
	 */
	@ApiField("total")
	private Long total;

	public String getErrorMessage() {
		return this.errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public Boolean getIsSuccess() {
		return this.isSuccess;
	}
	public void setIsSuccess(Boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	public Long getTotal() {
		return this.total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}

}
